package com.csist.bean;

import java.sql.Date;

/**
 * @ClassName Teacher
 * @Description TODO
 * @Author User
 * @Date 2021/6/25 14:13
 * @ModifyDate 2021/6/25 14:13
 * @Version 1.0
 */
public class Teacher {
    private int t_id;
    private String t_name;
    /** true=man, false=woman*/
    private boolean gender;
    private Date t_bri;
    private String t_phone;
    private int t_state;
    private String t_dec;
    private String t_username;
    private String t_password;

    public Teacher() {
    }

    public Teacher(int t_id, String t_name, boolean gender, Date t_bri, String t_phone, int t_state, String t_dec, String t_username, String t_password) {
        this.t_id = t_id;
        this.t_name = t_name;
        this.gender = gender;
        this.t_bri = t_bri;
        this.t_phone = t_phone;
        this.t_state = t_state;
        this.t_dec = t_dec;
        this.t_username = t_username;
        this.t_password = t_password;
    }

    public Teacher(String t_username, String t_password) {
        this.t_username = t_username;
        this.t_password = t_password;
    }

    public int getT_id() {
        return t_id;
    }

    public void setT_id(int t_id) {
        this.t_id = t_id;
    }

    public String getT_name() {
        return t_name;
    }

    public void setT_name(String t_name) {
        this.t_name = t_name;
    }

    public boolean isGender() {
        return gender;
    }

    public void setGender(boolean gender) {
        this.gender = gender;
    }

    public Date getT_bri() {
        return t_bri;
    }

    public void setT_bri(Date t_bri) {
        this.t_bri = t_bri;
    }

    public int getT_state() {
        return t_state;
    }

    public void setT_state(int t_state) {
        this.t_state = t_state;
    }

    public String getT_phone() {
        return t_phone;
    }

    public void setT_phone(String t_phone) {
        this.t_phone = t_phone;
    }

    public String getT_dec() {
        return t_dec;
    }

    public void setT_dec(String t_dec) {
        this.t_dec = t_dec;
    }

    public String getT_username() {
        return t_username;
    }

    public void setT_username(String t_username) {
        this.t_username = t_username;
    }

    public String getT_password() {
        return t_password;
    }

    public void setT_password(String t_password) {
        this.t_password = t_password;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "t_id=" + t_id +
                ", t_name='" + t_name + '\'' +
                ", gender=" + gender +
                ", t_bri=" + t_bri +
                ", t_state=" + t_state +
                ", t_dec='" + t_dec + '\'' +
                ", t_username='" + t_username + '\'' +
                ", t_password='" + t_password + '\'' +
                '}';
    }
}
